//
//  XSDrawerViewController.h
//  绿地管理系统
//
//  Created by rimi on 16/1/18.
//  Copyright © 2016年 hexs. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XSDrawerViewController : UIViewController

@property (nonatomic, strong, readonly) UIViewController  *mainViewController;
@property (nonatomic, strong, readonly) UIViewController  *leftViewController;

@property (nonatomic, strong) NSArray   *viewControllers;
@property (nonatomic, assign) NSInteger selectedIndex;



//- (instancetype)initWithMainViewController:(UIViewController *)mainViewController leftViewController:(UIViewController *)leftViewController;


- (void)openLeftDrawer;
- (void)closeLeftDrawer;

@end
